import { createRouter, createWebHistory } from 'vue-router'
import ArtMange from '@/views/ArtMange.vue'
import ArtIssu from '@/views/ArtIssu.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: '文章管理',
      component: ArtMange
    },
    {
      path: '/artissu',
      name: '文章发布',
      component: ArtIssu
    }
  ]
})

export default router
